Class IPsecPeerImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.IPsecPeerImpl
All Implemented Interfaces:
IPCObject, IPsecPeer

public class IPsecPeerImpl extends IPCObjectImpl implements IPsecPeer
Information provided by the PKI file:

    \class IpsecPeer
    
    \brief IpsecPeer handles and manipulates IPSec peers.
    
    \example network().getDevice("Router0").getProcess("IpsecProcess").getCryptoMapSetAt(0).getTableAtIndex(0).getFlowAt(0).getPeerAt(0)
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getCurrentSaGroup

      public IPsecSaGroup getCurrentSaGroup()
      Information provided by the PKI file:
      
          \brief Returns the current IPSec SA group.
          
          \return IpsecSaGroup, the IpsecSaGroup object.
          
              
      Specified by:
      getCurrentSaGroup in interface IPsecPeer
      Returns:
      IPsecSaGroup Returns a IPsecSaGroup
    • getPeerIp

      public IPAddress getPeerIp()
      Information provided by the PKI file:
      
          \brief Returns the IPSec peer IP address.
          
          \return ip, the IPSec peer IP address.
          
              
      Specified by:
      getPeerIp in interface IPsecPeer
      Returns:
      IPAddress Returns a IPAddress